package com.xbao.service.impl;

import com.xbao.service.SnsMsgService;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;

/**
 * Created by qingshengzheng on 18/9/4.
 */
@Service
public class SnSMsgServiceImpl implements SnsMsgService {

    @Override
    public void sendMessage() {

    }

    @Override
    public void sendVerCode() {

    }

    @Override
    public Boolean checkVerCode(String mobile, String vcode, String biztype) {
        String v=String.format("vercode_%s_%s", mobile,biztype);
        String mobilecode="";
        if(vcode.equals(mobilecode))
            return true;
        return false;
    }
}
